add_executable(tst_qtorusgeometry WIN32 MACOSX_BUNDLE
    ../common/geometrytesthelper.h
    tst_qtorusgeometry.cpp
)
target_include_directories(tst_qtorusgeometry PRIVATE
    ../common
)

target_link_libraries(tst_qtorusgeometry PRIVATE
    Qt${QT_VERSION_MAJOR}::3DExtras
    Qt${QT_VERSION_MAJOR}::3DRender
    Qt${QT_VERSION_MAJOR}::Core
    Qt${QT_VERSION_MAJOR}::CorePrivate
    Qt${QT_VERSION_MAJOR}::Gui
    Qt${QT_VERSION_MAJOR}::Test
)

install(TARGETS tst_qtorusgeometry
    BUNDLE DESTINATION .
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

# Consider using qt_generate_deploy_app_script() for app deployment if
# the project can use Qt 6.3. In that case rerun qmake2cmake with
# --min-qt-version=6.3.
